\documentclass[twocolumn, 10pt]{book}
\setlength\textwidth{6.875in}
\setlength\textheight{8.5in}
% set both margins to 2.5 pc
\setlength{\oddsidemargin}{-0.1875in}% 1 - (8.5 - 6.875)/2
\setlength{\evensidemargin}{-0.1875in}
\setlength{\marginparwidth}{0pc}
\setlength{\marginparsep}{0pc}%
\setlength{\footskip}{37pt}%
\setlength{\columnsep}{0.25in}
%\setlength{\columnwidth}{3.28125in}% (6.875 - 0.3125)/2 = 3.28125in
\setlength{\parindent}{1pc}
\newcommand{\myMargin}{1.00in}
\setlength{\topmargin}{0pt} 
\setlength{\headheight}{22pt}
\setlength{\headsep}{20pt}
\usepackage[top=\myMargin, left=\myMargin, right=\myMargin, bottom=\myMargin]{geometry}
\usepackage{epsfig,graphicx}
\usepackage{palatino}
\usepackage{fancybox}
\usepackage{hyperref}
\usepackage[svgnames]{xcolor}
\usepackage[procnames]{listings}

\input{../style/stanza.tex}
\input{../style/scala.tex}

\lstset{basicstyle={\footnotesize\ttfamily}}

\newenvironment{commentary}
{ \vspace{-0.1in}
  \begin{quotation}
  \noindent
  \small \em
  \rule{\linewidth}{1pt}\\
}
{
  \end{quotation}
}

\title{Getting Started with Chipper\footnote{based on a Getting Started with Chisel guide written with Vincent Lee}}
\author{Jonathan Bachrach \\
EECS Department, UC Berkeley\\
{\tt  \{jrb\}@eecs.berkeley.edu}
}
\date{\today}

\newenvironment{example}{\VerbatimEnvironment\begin{footnotesize}\begin{Verbatim}}{\end{Verbatim}\end{footnotesize}}
\newcommand{\kode}[1]{\begin{footnotesize}{\tt #1}\end{footnotesize}}

\definecolor{RED}{rgb}{1,0,0}
\def\red#1{{\color{red}#1}}
\def\problem#1{{\red{#1 Problem}}}
\def\code#1{{\tt #1}}

\def\note#1{\noindent{\bf [Note: #1]}}
%\def\note#1{}

\begin{document}
\maketitle{}

\chapter{Chipper Installation}
\input{installation-guts}

\chapter{The Basics}
\input{basics-guts}

\chapter{Basic Types and Operations}
\input{bits-guts}

\chapter{Instantiating Modules}
\input{modules-guts}

\chapter{Writing Stanza Testbenches}
\input{testing-guts}

\chapter{Creating Your Own Project}
\input{projects-guts}

\chapter{Conditional Assignments and Memories}
\input{state-guts}

\chapter{Scripting Hardware Generation}
\input{scripting-guts}

\end{document}
